package com.kaijie.service.impl;

import com.kaijie.entity.CloudExeLog;
import com.kaijie.mapper.local.CloudExeLogMapper;
import com.kaijie.service.CloudExeLogService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @Author pxh
 * @TODO TODO
 * @Date 2017/7/4
 */
@Service
@Transactional
public class CloudExeLogServiceImpl implements CloudExeLogService {

    @Resource
    private CloudExeLogMapper cloudExeLogMapper;

    @Override
    public List<CloudExeLog> findByTableName(Map<String, Object> param) {
        return cloudExeLogMapper.findByTableName(param);
    }

    @Override
    public void save(CloudExeLog cloudExeLog) {
        cloudExeLogMapper.save(cloudExeLog);
    }

    @Override
    public void update(CloudExeLog cloudExeLog) {
        cloudExeLogMapper.update(cloudExeLog);
    }

    @Override
    public List<CloudExeLog> findAll() {
        return cloudExeLogMapper.findAll();
    }
}
